﻿@model CoffeeMobile.Models.AddNewTableGroupModel
@{
    ViewBag.Title = "Create";
    Layout = "~/Views/Shared/_Layout.cshtml";
}
@section Header{
    @Html.ActionLink("Danh mục", "Index", "TableGroups", null, new Dictionary<string, object> { { "data-icon", "back" }, { "class", "ui-btn-left" } })
    <h1>@ViewBag.Title</h1>
}
@using (Html.BeginForm("Create", "TableGroups", FormMethod.Post))
{
    @Html.AntiForgeryToken()
    @Html.ValidationSummary(true)
    <ul data-role="listview" data-inset="true">
        <li data-role="fieldcontain">
            @Html.LabelFor(p => p.Name)
            @Html.TextBoxFor(p => p.Name)
            @Html.ValidationMessageFor(p => p.Name)
        </li>
        <li>
            <input type="submit" value="Lưu" />
        </li>
    </ul>
}
